14.2.9 REST Person Disabled notification
The REST Person Disabled event sends a notification to a REST web service when a person's account is disabled in MyID.
If you configure an external system with the name REST Person Disabled and specify the corresponding mapping file RESTPersonDisabled.xml, you can configure MyID to respond to the event with the following.
14.2.9.1 Endpoint
POST /people/{People.ObjectID}/personDisabled
14.2.9.2 Data
Copy
{
"person": {
"id": "<object ID of the person>",
"account": {
"dn": "<person Distinguished Name>",
"domain": "<domain>",
"samAccountName": "<SAM account name>",
"upn": "<UPN>"
},
"contact": {
"emailAddress": "<email>"
},
"enabled": "0",
"name": {
"first": "<first name>",
"fullName": "<full name>",
"last": "<last name>"
},
"group": {
"id": "<object ID of the group>",
"name": "<group name>"
},
"logonName": "<logon name>"
}
}
14.2.9.3 Expected response
A 200 OK response in the event of success.